package com.gandong8.derby.pojo.vo.request;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
public class UserReqVO implements Serializable {

    private static final long serialVersionUID = -4474392790065781535L;
    private Long id;
    //@NotEmpty(message ="username不能为空")
    @Length(min=3, max = 10, message = "username长度不正确")
    private String username;
    @NotEmpty(message ="password不能为空")
    private String password;
    @NotEmpty(message ="验证码不能为空")
    private String captcha;




}
